﻿@model IList<WebApplication1.Controllers.EntriesJsonModel>
@{
    Layout = null;
    ViewBag.Title = "门户调用百科接口测试";
    //ViewBag.title= "门户调用百科接口测试";
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Titles</title>
</head>
<body>
    <div>
        @{
            foreach (var item in Model)
            {
                <div>分类:@item.ClassifyName</div>
                <div >
                    @if (item.Entries != null && item.Entries.Count > 0)
                    {
                        foreach (var items in item.Entries)
                        {
                            <ul>
                                <li>标题: @items.BasicTitle</li>
                                @if (!string.IsNullOrEmpty(items.Imag))
                                {
                                <li> <img style="width:200px;height:200px;" src="@items.Imag" /></li>
                                }
                                <li>连接: @items.Link</li>
                                <li>
                                    关联词:
                                    @if (items.RelEntries != null && items.RelEntries.Count > 0)
                        {
                            foreach (var itema in items.RelEntries)
                            {
                                            <a href="@itema.Link">@itema.BasicTitle</a>
                                        }
                                    }
                                </li>
                                <li>
                                   @items.ModifyTime
                                </li>
                            </ul>
                        }

                    }
                </div>
            }
        }
    </div>
</body>
</html>
